var phonegapApp = {
    initialize: function() {
        this.bindEvents();
    },
    bindEvents: function() {
        document.addEventListener('deviceready', this.onDeviceReady, true);
    },

    onDeviceReady: function() {
		pictureSource=navigator.camera.PictureSourceType;
        destinationType=navigator.camera.DestinationType;
        //angular.element(document).ready(function() {
        //    angular.bootstrap(document, ['ngView']);
        //});
    }
}